<?php

namespace App\Package\Finance\Contracts;

/**
 * 表达式元素契约
 *
 * Interface ElementContract
 * @package App\Package\Finance\Contracts
 * Date: 2018/6/6
 * @author George
 */
interface ElementContract
{
	/**
	 * 获取属性
	 *
	 * Date: 2018/6/6
	 * @author George
	 * @param $key
	 * @return mixed
	 */
	public function get($key);

	/**
	 * 设置属性
	 *
	 * Date: 2018/6/6
	 * @author George
	 * @param $key
	 * @param $value
	 * @return mixed
	 */
	public function set($key, $value);
}
